

<%@ page import="br.com.incodeworks.mercurio.Projeto" %>
<!doctype html>
<html>
<head>
<meta name="layout" content="main">
<g:set var="entityName" value="${message(code: 'projeto.label', default: 'Projeto')}" />
<title><g:message code="default.show.label" args="[entityName]" /></title>
</head>
<body>


	<div class="flat_area grid_16">
		<h2>
			<g:message code="default.show.label" args="[entityName]" />
		</h2>

		<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
		</g:if>
	</div>

	<div class="box grid_16">
		<div class="block">
			<div class="section clearfix">
				<fieldset class="label_side label_small">
					<g:link class="list" action="list">
						<button class="img_icon has_text">
							<g:img file="icons/small/white/list_w_images.png" />
							<span>Listar</span>
						</button>
					</g:link>
					<g:link class="create" action="create">
						<button class="img_icon has_text">
							<g:img file="icons/small/white/create_write.png" />
							<span><g:message code="default.new.label" args="[entityName]" /></span>
						</button>
					</g:link>
				</fieldset>
			</div>
		</div>
	</div>











	<div class="box grid_16">
		<div class="toggle_container">
			<div class="block">

				<div id="show-projeto" class="content scaffold-show" role="main">

					<ol class="property-list projeto">
						
				<g:if test="${projetoInstance?.nome}">
				<li class="fieldcontain">
					<span id="nome-label" class="property-label"><g:message code="projeto.nome.label" default="Nome" /></span>
					
						<span class="property-value" aria-labelledby="nome-label"><g:fieldValue bean="${projetoInstance}" field="nome"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${projetoInstance?.descricao}">
				<li class="fieldcontain">
					<span id="descricao-label" class="property-label"><g:message code="projeto.descricao.label" default="Descricao" /></span>
					
						<span class="property-value" aria-labelledby="descricao-label"><g:fieldValue bean="${projetoInstance}" field="descricao"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${projetoInstance?.projetoPai}">
				<li class="fieldcontain">
					<span id="projetoPai-label" class="property-label"><g:message code="projeto.projetoPai.label" default="Projeto Pai" /></span>
					
						<span class="property-value" aria-labelledby="projetoPai-label"><g:link controller="projeto" action="show" id="${projetoInstance?.projetoPai?.id}">${projetoInstance?.projetoPai?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
					</ol>
					<g:form>
						<fieldset class="buttons">
							<g:hiddenField name="id" value="${projetoInstance?.id}" />
							<g:link class="edit" action="edit" id="${projetoInstance?.id}">
								<g:message code="default.button.edit.label" default="Edit" />
							</g:link>
							<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}"
								onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
						</fieldset>
					</g:form>
				</div>
			</div>
		</div>
	</div>

</body>
</html>
